package com.chen.mapper;

import com.chen.entity.QQUser;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface QQUserMapper {

    /**
     * 新增
     * @param qqUser
     */
    void save(QQUser qqUser);

    /**
     * 根据qq号查询
     * @param qqNum
     * @return
     */
    QQUser selectQQUserByQQNum(Long qqNum);

    /**
     * 根据手机号查询
     * @param phone
     * @return
     */
    QQUser selectQQUserByPhone(String phone);

}
